package com.gitee.minimalismstyle.fresh.flowable.api.feign.fallback

import com.gitee.minimalismstyle.fresh.common.core.domain.R
import com.gitee.minimalismstyle.fresh.flowable.api.feign.EngineApi
import com.gitee.minimalismstyle.fresh.flowable.api.feign.model.EngineInfoResponse

class EngineApiFallback : EngineApi {
    override fun getEngineInfo(): R<EngineInfoResponse> {
        return R.error("服务无法访问")
    }

    override fun getProperties(): R<Any> {
        return R.error("服务无法访问")
    }
}